Squelch circuit with adjustable reference level

ABSTRACT

A squelch circuit with an adjustable reference level, having an input level comparator with a first, a second, a third and a fourth current input terminal, a first and a second input terminal, and an output terminal. A first current source is coupled between the first current input terminal and an operation voltage. A second current source is coupled between the second current input terminal and the operation voltage. A third current source is coupled between the third current input terminal and a ground terminal. A fourth current source is coupled between the fourth current input terminal and the ground terminal. A bias generator is coupled to the first, second, third and fourth current sources to generate current control signals thereto according to a reference current and control bits, such that the first, second, third and fourth current sources generate the same current, which adjusts the reference level.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The invention relates in general to a squelch circuit, and more particularly, to a squelch circuit with an adjustable input level.

[0003] 2. Description of the Related Art

[0004] A squelch circuit is a circuit designed to prevent input signal noise interference, and is used in the prior art to resolve the problems of too muchnoise from comparator. Referring to FIG. 1a, the operation theory of a conventional comparator is shown. As shown in FIG. 1, when the conventional comparator receives a positive input voltage, a voltage of logic 1 is output. If the conventional comparator receives a negative input voltage, a voltage of logic 0 is output. A serious drawback of the conventional comparator is that an error output results when the input terminal is interfered by noise. That is, even when the conventional comparator does not receive a positive input voltage, a voltage of logic 1 may be output instead of the voltage of logic 0 which is supposed to be output. The output voltage of logic 1 is caused by noise instead of the real input voltage. Thus, once the comparator is interfered by noise, the output is unstable. To improve this situation, a squelch circuit has been designed.

[0005] Referring to FIG. 1b, the operation theory of a conventional squelch circuit is illustrated. When a conventional squelch circuit receives an input voltage larger than the reference level V_(THP), a voltage of logic 1 is output. If the conventional squelch circuit receives an input voltage smaller than the level V_(THP), a voltage of logic 0 is output. Referring to FIG. 1c, assuming that the input signal of the conventional squelch circuit has a waveform as shown, the conventional squelch circuit outputs a voltage of logic 1 at the portion larger the input level V_(THP), and outputs a voltage of logic 0 at the portion smaller than the input level V_(THP).

[0006] Referring to FIG. 2, a schematic circuit diagram of a conventional squelch circuit is shown. Such structure will achieve the above objective, that is, connecting the input positive signal to the input terminal INP, and connecting the input negative signal to the input terminal INN. When the input signal (V_(INP)−V_(INN)) is larger than the reference level V_(THP), the output terminal OUT of the comparator 10 outputs a voltage level of logic 1. In contrast, the output terminal OUT of the comparator 10 outputs a voltage level of logic 0 when the input signal is smaller than the reference level V_(THP). The above reference level V_(THP) is defined as follows. The squelch circuit has an operation voltage of Vdd. The resistance of the resistors R2, R1, R3, R4, R5, R6, R7, R8 is R₂, R₁, R₃, R₄, R₅, R₆, R₇, R₈, the voltage of the input terminal INP and INN is V_(INP) and V_(INN), respectively, and the node voltage for nodes NP and PN is V_(NP) and V_(PN), respectively. The input terminal of the comparator 10 receives the voltages of the nodes NP and PN to compare, and the compared result is output from the output terminal OUT. That is, the voltage difference V_(INP)−V_(INN) and the reference level V_(THP) are compared. In addition, assuming that R₁/(R₁+R₂)=R₇/(R₇+R₈), R₁=R₅, R₂=R₆, R₃=R₇, R₄=R₈, the structure in the analytic drawing in FIG. 2 has the following relations:

V _(PN) =V _(INP)−(Vdd/2)(R ₇/(R ₇ +R ₈))

V _(NP) =V _(INN)+(Vdd/2)(R ₁/(R ₁ +R ₂))

[0007] When V_(PN)=V_(NP), V_(THP)=V_(INP)−V_(INN)=(Vdd)/(R₁/(R₁+R₂)). Therefore, the reference level V_(THP) of the conventional squelch circuit is related to the operation voltage Vdd, R₁, and R₂. The reference level of the conventional squelch circuit is not programmable, and so, being easily affected by the operation voltage Vdd, the reference level V_(THP) is not precise.

SUMMARY OF THE INVENTION

[0008] The present invention provides a squelch circuit with an adjustable reference level. The squelch circuit comprises a reference level comparator, which further includes a first, a second, a third and a fourth current input terminal, a first and a second input terminal and an output terminal. A first current source is coupled between the first current input terminal and an operation voltage. A second current source is coupled between the second current input terminal and the operation voltage. A third current source is coupled between the third current input terminal and a ground terminal. A fourth current source is coupled between the fourth current input terminal and the ground terminal. A bias generator is coupled to the first, second, third and fourth current input terminals to generate control signals according to a reference current and control bits, so that the first, second, third and fourth current sources generate the current, which adjusts the reference level.

[0009] Both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

[0010]FIG. 1a shows the operation theory of a conventional comparator;

[0011]FIG. 1b shows the operation theory of a conventional squelch circuit;

[0012]FIG. 1c shows a waveform diagram of an input signal of the conventional squelch circuit;

[0013]FIG. 2 shows a circuit diagram of a conventional squelch circuit; and

[0014]FIG. 3 shows a schematic structure of a squelch circuit with an adjustable reference level in one preferred embodiment of the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Referring to FIG. 3, the schematic structure of a squelch circuit with an adjustable reference level in one preferred embodiment of the present invention is shown.

[0016] The squelch circuit with an adjustable reference level of the present invention can be used to adjust the reference level V_(THP). The squelch circuit comprises a bias generator 30, current sources 42, 44, 46, 48, resistors R1 to R8, terminal nodes PN and NP, and input terminals INN and INP. The bias generator 30 is used to output current bias signals to each of the current sources 42, 44, 46 and 48. The current source 42 has a first terminal coupled to an operation voltage Vdd, a second terminal coupled to the bias generator 30, and a third terminal coupled to a first terminal of the resistor R2. A second terminal of the resistor R2 is coupled to the terminal node NP. The resistor R1 has a first terminal coupled to the terminal node NP and a second terminal coupled to the input terminal INN. The resistor R5 has a first terminal coupled to the input terminal INN. The resistor R6 has a first terminal coupled to a second terminal of the resistor R5. The current source 46 has a first terminal coupled to a second terminal of the resistor R6, a second terminal coupled to the bias generator 30, and a third terminal coupled to the ground voltage.

[0017] The current source 44 has a first terminal coupled to the operation voltage Vdd, a second terminal coupled to the bias generator 30, and a third terminal coupled to a first terminal of the resistor R4. The resistor R3 has a first terminal coupled to a second terminal of the resistor R4, and a second terminal coupled to the input terminal INP. The resistor R7 has a first terminal coupled to the input terminal INP, and a second terminal coupled to the terminal node PN. The resistor R8 has a first terminal coupled to the terminal node PN, and a second terminal coupled to a first terminal of the current source 48, a second terminal of which is coupled to the bias generator 30, and a third terminal of which is coupled to the ground voltage.

[0018] The squelch circuit with adjustable reference level further comprises a comparator 20 coupled to the terminal nodes PN and NP. In addition, the bias generator 30 outputs current bias signals according to a reference current and control bits. Further, the above input terminal INN is a negative input terminal.

[0019] When the reference level of the squelch circuit with an adjustable reference level receives an input voltage larger than the reference level V_(THP), a voltage of logic 1 is output, while when the input voltage is smaller than the reference level V_(THP), a voltage of logic 0 is output. Using the structure of the squelch circuit with an adjustable reference level, the input positive signal is connected to the input terminal INP. The input negative signal is connected to the input terminal INN. The reference level is then adjusted. When the input signal (V_(INP)−V_(INN)) is larger then the reference level V_(THP), a voltage of logic 1 is output from the output terminal OUT. When the input signal (V_(INP)−V_(INN)) is smaller then the reference level V_(THP), a voltage of logic 0 is output from the output terminal OUT. The reference level V_(THP) is configured as follows. The operation voltage of the squelch circuit with the adjustable reference level is defined as Vdd, while the currents generated by the current sources 42, 44, 46 and 48 are all I. Since the current I is generated according to the control bit k and the reference current Iref received from the bias generator, the current I, the control bits k and the reference current Iref have the relationship of I=k*Iref. k is programmable and controllable. The resistances of the resistors R1, R2, R3, R4, R5, R6, R7 and R8 are denoted as R₁, R₂, R₃, R₄, R₅, R₆, R₇ and R₈. The input terminal INP has a voltage of V_(INP). The input terminal INN has a voltage of V_(INN). The terminal node NP has a voltage of V_(NP). The terminal node PN has a voltage of V_(PN). Therefore:

V _(PN) =V _(INP) −I*R ₇

V _(NP) =V _(INN) +I*R ₁

[0020] When V_(PN)=V_(NP), V_(INP)−V_(INN)=V_(THP)=I*R₁+I*R₇=k*Iref*(R₁+R₇). Assuming that R₁/m=R₇/n=R_(x), where m, n and R_(x) are constants, V_(THP)=k*Iref*R_(x)*(m+n). Assuming that Iref=V_(x)/R_(x), since R_(x) is a constant, Iref is a constant, so that V_(x) is also a constant. Consequently, V_(THP)=k*V_(x)*(m+n). Therefore, V_(THP) is only affected by k since V_(x), m and n are all constants. Since k is programmable, V_(THP) is also programmable.

[0021] Accordingly, the present invention has the following advantages:

[0022] 1. V_(THP) is irrelevant to the operation voltage Vdd since V_(THP)=k*V_(x)*(m+n), and V_(x), m and n are constants. Therefore, V_(THP) is only related to k.

[0023] 2. Since V_(THP)=k*V_(x)*(m+n), and V_(x), m and n are constants, V_(THP) is only related to k. As k is programmable and controllable, V_(THP) is also programmable and can be precisely adjusted.

[0024] 3. Since the input resistances are R₄₂+R₁+R₂//R₄₆+R₆+R₅, and R₄₂ and R₄₆ are the resistances of the current sources 42 and 46, respectively, the input impedance of the squelch circuit with the adjustable reference level is large.

[0025] Other embodiments of the invention will appear to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims. 

What is claimed is:
 1. A squelch circuit with an adjustable reference level, the squelch circuit comprising: an input level comparator, having a first, a second, a third and a fourth current input terminal, a first and a second input terminal, and an output terminal, wherein input signals for the first and the second input terminals are inverted; a first current source, coupled between the first current input terminal and an operation voltage; a second current source, coupled between the second current input terminal and the operation voltage; a third current source, coupled between the third current input terminal and a ground terminal; a fourth current source, coupled between the fourth current input terminal and the ground terminal; and a bias generator, coupled to input terminals of the first, second, third and fourth current sources to generate current bias signals to each of the first, second, third and fourth current sources, so that the first, second, third and fourth current sources generate the current, which adjusts the reference level.
 2. The squelch circuit according to claim 1, wherein the input level comparator further comprises: a first resistor, having a first terminal coupled to the first current source and a second terminal; a second resistor, having a first terminal coupled to the second terminal of the first resistor, and a second terminal coupled to the first input terminal of the reference level comparator; a third resistor, having a first terminal coupled to the first input terminal of the reference level comparator, and a second terminal; a fourth resistor, having a first terminal coupled to the second terminal of the third resistor, and a second terminal coupled to the third current source; a fifth resistor, having a first terminal coupled to the second current source and a second terminal; a sixth resistor, having a first terminal coupled to the second terminal of the fifth resistor and a second terminal coupled to the second input terminal of the reference level comparator; a seventh resistor, having a first terminal coupled to the second input terminal of the reference level comparator and a second terminal; and an eighth resistor, having a first terminal coupled to the second terminal of the seventh resistor and a second terminal coupled to the fourth current source.
 3. The squelch circuit according to claim 1, wherein the input level comparator further comprises: a comparator, having a first input terminal coupled to the second terminal of the first resistor, a second input terminal coupled to the second terminal of the seventh resistor; and an output terminal. 